package com.hq.admin.service;

import com.hq.admin.dao.RoleDao;
import com.hq.admin.domain.Role;
import com.hq.base.domain.BaseObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by hezj on 2015/7/5 0005.
 */
@Service
public class RoleService extends BaseObject {
    @Autowired
    private RoleDao roleDao;

    public List<Role> getAll(){
        return roleDao.getAll();
    }
}
